// samsting : this file is auto create.

#include "Ess/2014-08-28/DescribeScalingConfigurationsResponse.h"

namespace aliyun { namespace Ess {

DescribeScalingConfigurationsResponse::DescribeScalingConfigurationsResponse() {
}

int DescribeScalingConfigurationsResponse::ScalingConfiguration::DataDisk::GetSize(void) const {
  return Size_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::DataDisk::GetCategory(void) const {
  return Category_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::DataDisk::GetSnapshotId(void) const {
  return SnapshotId_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::DataDisk::GetDevice(void) const {
  return Device_;
}

const std::vector<DescribeScalingConfigurationsResponse::ScalingConfiguration::DataDisk>& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetDataDisks(void) const {
  return DataDisks_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetScalingConfigurationId(void) const {
  return ScalingConfigurationId_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetScalingConfigurationName(void) const {
  return ScalingConfigurationName_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetScalingGroupId(void) const {
  return ScalingGroupId_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetImageId(void) const {
  return ImageId_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetInstanceType(void) const {
  return InstanceType_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetSecurityGroupId(void) const {
  return SecurityGroupId_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetInternetChargeType(void) const {
  return InternetChargeType_;
}

int DescribeScalingConfigurationsResponse::ScalingConfiguration::GetInternetMaxBandwidthIn(void) const {
  return InternetMaxBandwidthIn_;
}

int DescribeScalingConfigurationsResponse::ScalingConfiguration::GetInternetMaxBandwidthOut(void) const {
  return InternetMaxBandwidthOut_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetSystemDiskCategory(void) const {
  return SystemDiskCategory_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetLifecycleState(void) const {
  return LifecycleState_;
}

const string& DescribeScalingConfigurationsResponse::ScalingConfiguration::GetCreationTime(void) const {
  return CreationTime_;
}

const std::vector<DescribeScalingConfigurationsResponse::ScalingConfiguration>& DescribeScalingConfigurationsResponse::GetScalingConfigurations(void) const {
  return ScalingConfigurations_;
}

int DescribeScalingConfigurationsResponse::GetTotalCount(void) const {
  return TotalCount_;
}

int DescribeScalingConfigurationsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeScalingConfigurationsResponse::GetPageSize(void) const {
  return PageSize_;
}

const char* DescribeScalingConfigurationsResponse::BaseKey(void) {
  return "DescribeScalingConfigurationsResponse";
}

void DescribeScalingConfigurationsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ScalingConfigurations__length = 0;
  UnmarshallerInt(ScalingConfigurations__length, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations.Length");
  if(ScalingConfigurations__length >= 0) {
    ScalingConfigurations_.resize(ScalingConfigurations__length);
    for(int i1 = 0; i1 < ScalingConfigurations__length; i1++) {
      int ScalingConfigurations_i1_DataDisks__length = 0;
      UnmarshallerInt(ScalingConfigurations_i1_DataDisks__length, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations[+"+string_ValueOfInt(i1)+"].DataDisks.Length");
      if(ScalingConfigurations_i1_DataDisks__length >= 0) {
        ScalingConfigurations_[i1].DataDisks_.resize(ScalingConfigurations_i1_DataDisks__length);
        for(int i2 = 0; i2 < ScalingConfigurations_i1_DataDisks__length; i2++) {
          UnmarshallerInt(ScalingConfigurations_[i1].DataDisks_[i2].Size_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations[+"+string_ValueOfInt(i1)+"].DataDisks["+string_ValueOfInt(i2)+"].Size");
          UnmarshallerString(ScalingConfigurations_[i1].DataDisks_[i2].Category_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations[+"+string_ValueOfInt(i1)+"].DataDisks["+string_ValueOfInt(i2)+"].Category");
          UnmarshallerString(ScalingConfigurations_[i1].DataDisks_[i2].SnapshotId_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations[+"+string_ValueOfInt(i1)+"].DataDisks["+string_ValueOfInt(i2)+"].SnapshotId");
          UnmarshallerString(ScalingConfigurations_[i1].DataDisks_[i2].Device_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations[+"+string_ValueOfInt(i1)+"].DataDisks["+string_ValueOfInt(i2)+"].Device");
        } // for(int i2 = 0; i2 < ScalingConfigurations_i1_DataDisks__length; i2++) {
      } // if(ScalingConfigurations_i1_DataDisks__length >= 0) {

      UnmarshallerString(ScalingConfigurations_[i1].ScalingConfigurationId_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].ScalingConfigurationId");
      UnmarshallerString(ScalingConfigurations_[i1].ScalingConfigurationName_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].ScalingConfigurationName");
      UnmarshallerString(ScalingConfigurations_[i1].ScalingGroupId_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].ScalingGroupId");
      UnmarshallerString(ScalingConfigurations_[i1].ImageId_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].ImageId");
      UnmarshallerString(ScalingConfigurations_[i1].InstanceType_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].InstanceType");
      UnmarshallerString(ScalingConfigurations_[i1].SecurityGroupId_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].SecurityGroupId");
      UnmarshallerString(ScalingConfigurations_[i1].InternetChargeType_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].InternetChargeType");
      UnmarshallerInt(ScalingConfigurations_[i1].InternetMaxBandwidthIn_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].InternetMaxBandwidthIn");
      UnmarshallerInt(ScalingConfigurations_[i1].InternetMaxBandwidthOut_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].InternetMaxBandwidthOut");
      UnmarshallerString(ScalingConfigurations_[i1].SystemDiskCategory_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].SystemDiskCategory");
      UnmarshallerString(ScalingConfigurations_[i1].LifecycleState_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].LifecycleState");
      UnmarshallerString(ScalingConfigurations_[i1].CreationTime_, response_map, "DescribeScalingConfigurationsResponse.ScalingConfigurations["+string_ValueOfInt(i1)+"].CreationTime");
    } // for(int i1 = 0; i1 < ScalingConfigurations__length; i1++) {
  } // if(ScalingConfigurations__length >= 0) {

  UnmarshallerInt(TotalCount_, response_map, "DescribeScalingConfigurationsResponse.TotalCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeScalingConfigurationsResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "DescribeScalingConfigurationsResponse.PageSize");
}


} } // namespace aliyun { namespace Ess {

// end of file 
